﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using IDAL;

namespace BLL
{
    public class goodCommentBLL
    {
        private IgoodCommentDAL commentDAL = DALFactory.DateAccess.GetIgoodCommentDAL();
        public IEnumerable<goodComment> GetGoodCommentsByGoodId(int id)
        {
            return commentDAL.GetGoodCommentsByGoodId(id);
        }
    }
}
